<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>游戏推荐 | 精选独立游戏与经典作品</title>
  <!-- 引入Tailwind CSS -->
  <script src="https://cdn.tailwindcss.com"></script>
  <!-- 引入Font Awesome -->
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  
  <!-- Tailwind配置 -->
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            primary: '#3B82F6', // 蓝色作为主色调
            secondary: '#10B981', // 绿色作为辅助色
            accent: '#F59E0B', // 橙色作为强调色
            dark: '#1E293B', // 深色背景
            light: '#F8FAFC', // 浅色背景
          },
          fontFamily: {
            sans: ['Inter', 'system-ui', 'sans-serif'],
            heading: ['Montserrat', 'system-ui', 'sans-serif'],
          },
        },
      }
    }
  </script>
  
  <!-- 自定义工具类 -->
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .text-shadow {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1);
      }
      .text-shadow-lg {
        text-shadow: 0 4px 8px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
      }
      .card-hover {
        transition: all 0.3s ease;
      }
      .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      }
    }
  </style>
  
  <!-- 引入Google Fonts -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap" rel="stylesheet">
</head>

<body class="bg-gradient-to-br from-slate-50 to-slate-100 dark:from-slate-900 dark:to-slate-800 min-h-screen text-slate-800 dark:text-slate-200">
  <!-- 导航栏 -->
  <header class="sticky top-0 z-50 bg-white/80 dark:bg-slate-900/80 backdrop-blur-md border-b border-slate-200 dark:border-slate-700 transition-all duration-300">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <div class="flex justify-between items-center h-16">
        <!-- Logo -->
        <div class="flex items-center space-x-2">
          <i class="fa fa-gamepad text-primary text-2xl"></i>
          <span class="font-heading font-bold text-xl sm:text-2xl">游戏精选</span>
        </div>
        
        <!-- 导航菜单 - 桌面版 -->
        <nav class="hidden md:flex space-x-8">
          <a href="#" class="text-primary font-medium hover:text-primary/80 transition-colors">首页</a>
          <a href="#games" class="font-medium hover:text-primary transition-colors">游戏列表</a>
          <a href="#" class="font-medium hover:text-primary transition-colors">关于</a>
          <a href="#" class="font-medium hover:text-primary transition-colors">联系我们</a>
        </nav>
        
        <!-- 搜索和主题切换 -->
        <div class="flex items-center space-x-4">
          <button class="p-2 rounded-full hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors" id="theme-toggle">
            <i class="fa fa-moon-o dark:hidden text-slate-600"></i>
            <i class="fa fa-sun-o hidden dark:block text-yellow-400"></i>
          </button>
          
          <button class="p-2 rounded-full hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors">
            <i class="fa fa-search text-slate-600 dark:text-slate-300"></i>
          </button>
          
          <!-- 移动端菜单按钮 -->
          <button class="md:hidden p-2 rounded-full hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors" id="mobile-menu-button">
            <i class="fa fa-bars text-slate-600 dark:text-slate-300"></i>
          </button>
        </div>
      </div>
    </div>
    
    <!-- 移动端菜单 -->
    <div class="md:hidden hidden bg-white dark:bg-slate-900 border-b border-slate-200 dark:border-slate-700" id="mobile-menu">
      <div class="container mx-auto px-4 py-3 space-y-2">
        <a href="#" class="block py-2 px-3 text-primary font-medium rounded-md bg-slate-100 dark:bg-slate-800">首页</a>
        <a href="#games" class="block py-2 px-3 font-medium rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors">游戏列表</a>
        <a href="#" class="block py-2 px-3 font-medium rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors">关于</a>
        <a href="#" class="block py-2 px-3 font-medium rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors">联系我们</a>
      </div>
    </div>
  </header>

  <main class="container mx-auto px-4 sm:px-6 lg:px-8 py-8">
    <!-- 英雄区域 -->
    <section class="relative rounded-2xl overflow-hidden mb-12">
      <div class="absolute inset-0 bg-gradient-to-r from-primary/90 to-secondary/80 mix-blend-multiply"></div>
      <div class="relative z-10 px-6 py-16 md:py-24 md:px-12 lg:py-32 lg:px-20 text-white">
        <h1 class="text-[clamp(2rem,5vw,3.5rem)] font-heading font-bold leading-tight text-shadow-lg mb-4">探索游戏世界的无限可能</h1>
        <p class="text-[clamp(1rem,2vw,1.25rem)] max-w-2xl text-white/90 mb-8">精选独立游戏与经典作品，总有一款能触动你的游戏灵魂</p>
        <div class="flex flex-wrap gap-4">
          <a href="#games" class="px-6 py-3 bg-white text-primary font-medium rounded-lg shadow-lg hover:shadow-xl transform hover:-translate-y-1 transition-all">
            浏览游戏 <i class="fa fa-arrow-right ml-2"></i>
          </a>
          <a href="#" class="px-6 py-3 bg-transparent border-2 border-white text-white font-medium rounded-lg hover:bg-white/10 transition-all">
            了解更多 <i class="fa fa-info-circle ml-2"></i>
          </a>
        </div>
      </div>
      <!-- 装饰元素 -->
      <div class="absolute -bottom-12 -right-12 w-64 h-64 bg-white/10 rounded-full blur-3xl"></div>
      <div class="absolute -top-12 -left-12 w-64 h-64 bg-white/10 rounded-full blur-3xl"></div>
    </section>

    <!-- 游戏分类筛选 -->
    <section class="mb-12">
      <div class="flex flex-wrap items-center justify-between gap-4 mb-6">
        <h2 class="text-2xl md:text-3xl font-heading font-bold">游戏列表</h2>
        <div class="flex flex-wrap gap-2">
          <button class="filter-btn active px-4 py-2 rounded-full bg-primary text-white hover:bg-primary/90 transition-colors">全部</button>
          <button class="filter-btn px-4 py-2 rounded-full bg-slate-200 dark:bg-slate-700 hover:bg-slate-300 dark:hover:bg-slate-600 transition-colors">RPG</button>
          <button class="filter-btn px-4 py-2 rounded-full bg-slate-200 dark:bg-slate-700 hover:bg-slate-300 dark:hover:bg-slate-600 transition-colors">动作</button>
          <button class="filter-btn px-4 py-2 rounded-full bg-slate-200 dark:bg-slate-700 hover:bg-slate-300 dark:hover:bg-slate-600 transition-colors">经营</button>
          <button class="filter-btn px-4 py-2 rounded-full bg-slate-200 dark:bg-slate-700 hover:bg-slate-300 dark:hover:bg-slate-600 transition-colors">节奏</button>
          <button class="filter-btn px-4 py-2 rounded-full bg-slate-200 dark:bg-slate-700 hover:bg-slate-300 dark:hover:bg-slate-600 transition-colors">恋爱</button>
        </div>
      </div>

      <!-- 游戏卡片网格 -->
      <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" id="games">
        <!-- 游戏1 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/237/800/400" alt="胡言山的魔理沙游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-primary/90 text-white text-xs font-bold px-2 py-1 rounded">RPG</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">胡言山的魔理沙</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">骰子驱动的冒险RPG，《东方Project》世界观衍生作</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">骰子驱动</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">文字冒险</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">角色互动</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"风格可爱但机制精致，适合喜欢日式幻想冒险的玩家"</p>
            <button class="w-full py-2 px-4 bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏2 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/1/800/400" alt="IZON.游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-red-500/90 text-white text-xs font-bold px-2 py-1 rounded">动作</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">IZON.</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">剧情向动作冒险，颓废科幻世界，主题为"破坏与创造"</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">双主角</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">叙事驱动</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">科幻</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"适合喜欢《尼尔：机械纪元》《空洞骑士》这类风格的玩家"</p>
            <button class="w-full py-2 px-4 bg-red-500 text-white rounded-lg hover:bg-red-500/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏3 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/164/800/400" alt="雾隐天途游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-green-500/90 text-white text-xs font-bold px-2 py-1 rounded">建造</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">雾隐天途</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">城市建造+探险，巨树上的垂直城市，管理光源和火焰抵御迷雾</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">策略派遣</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">资源管理</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">遗迹探索</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"很有《这是我的战争》和《Frostpunk》的感觉，硬核建造党会爱"</p>
            <button class="w-full py-2 px-4 bg-green-500 text-white rounded-lg hover:bg-green-500/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏4 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/292/800/400" alt="兽娘红茶馆游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-pink-500/90 text-white text-xs font-bold px-2 py-1 rounded">经营</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">兽娘红茶馆</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">经营+剧情，兽耳、红茶、可爱要素满满</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">调茶经营</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">剧情推进</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">治愈系</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"氛围舒缓，视觉甜美，适合治愈系玩家或二次元粉丝"</p>
            <button class="w-full py-2 px-4 bg-pink-500 text-white rounded-lg hover:bg-pink-500/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏5 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/325/800/400" alt="神椿市协奏中。游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-purple-500/90 text-white text-xs font-bold px-2 py-1 rounded">节奏</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">神椿市协奏中。</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">节奏游戏，与神椿工作室虚拟歌手企划联动</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">魔法歌曲</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">视觉小说</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">二次元</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"介于音游和视觉小说之间，曲风时尚，有强烈的二次元氛围"</p>
            <button class="w-full py-2 px-4 bg-purple-500 text-white rounded-lg hover:bg-purple-500/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏6 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/326/800/400" alt="忍者杀手 火烧新埼玉游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-red-600/90 text-white text-xs font-bold px-2 py-1 rounded">动作</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">忍者杀手 火烧新埼玉</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">高速动作格斗，改编自网络热门小说，赛博朋克风格</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">流畅打击感</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">暴力美学</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">赛博朋克</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"适合喜欢《赛博朋克2077》《杀手47》的玩家，打击感爽快"</p>
            <button class="w-full py-2 px-4 bg-red-600 text-white rounded-lg hover:bg-red-600/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏7 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/338/800/400" alt="ToHeart游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-pink-400/90 text-white text-xs font-bold px-2 py-1 rounded">恋爱</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">ToHeart</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">经典校园恋爱游戏（GALGAME）</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">高清重制</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">校园日常</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">怀旧</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"适合怀旧玩家、新接触恋爱AVG者"</p>
            <button class="w-full py-2 px-4 bg-pink-400 text-white rounded-lg hover:bg-pink-400/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏8 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/349/800/400" alt="白色相簿：编缀的冬日回忆游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-blue-400/90 text-white text-xs font-bold px-2 py-1 rounded">恋爱</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">白色相簿：编缀的冬日回忆</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">剧情向恋爱AVG，恋爱中的误解、错过与遗憾</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">深刻感情</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">音乐出色</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">氛围营造</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"感情深刻，音乐与氛围营造出色"</p>
            <button class="w-full py-2 px-4 bg-blue-400 text-white rounded-lg hover:bg-blue-400/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏9 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/365/800/400" alt="受赞颂者：给逝者的摇篮曲游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-indigo-500/90 text-white text-xs font-bold px-2 py-1 rounded">RPG</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">受赞颂者：给逝者的摇篮曲</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">策略RPG + 剧情AVG，兽人风格奇幻世界，主角戴面具、失忆</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">剧情宏大</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">战棋玩法</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">系列开端</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"剧情宏大、战棋玩法经典，是整个系列的开端"</p>
            <button class="w-full py-2 px-4 bg-indigo-500 text-white rounded-lg hover:bg-indigo-500/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>

        <!-- 游戏10 -->
        <div class="game-card card-hover bg-white dark:bg-slate-800 rounded-xl overflow-hidden shadow-lg">
          <div class="relative h-48 overflow-hidden">
            <img src="https://picsum.photos/id/370/800/400" alt="黑白莫比乌斯：岁月的代价游戏封面" class="w-full h-full object-cover transition-transform duration-500 hover:scale-110">
            <div class="absolute top-3 right-3 bg-violet-500/90 text-white text-xs font-bold px-2 py-1 rounded">RPG</div>
          </div>
          <div class="p-6">
            <h3 class="text-xl font-heading font-bold mb-2">黑白莫比乌斯：岁月的代价</h3>
            <p class="text-slate-600 dark:text-slate-400 mb-4">王道日式RPG</p>
            <div class="flex flex-wrap gap-2 mb-4">
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">剧情优秀</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">3D演出强</span>
              <span class="px-2 py-1 bg-slate-100 dark:bg-slate-700 text-slate-700 dark:text-slate-300 text-xs rounded-full">世界观扩展</span>
            </div>
            <p class="text-sm italic text-slate-500 dark:text-slate-400 mb-4">"剧情优秀、3D演出强、有沉浸式世界观，与《受赞颂者》系列有关联"</p>
            <button class="w-full py-2 px-4 bg-violet-500 text-white rounded-lg hover:bg-violet-500/90 transition-colors flex items-center justify-center">
              <i class="fa fa-gamepad mr-2"></i> 了解更多
            </button>
          </div>
        </div>
      </div>
    </section>

    <!-- 订阅区域 -->
    <section class="bg-gradient-to-r from-primary/90 to-secondary/80 rounded-2xl p-8 md:p-12 mb-12 text-white">
      <div class="max-w-3xl mx-auto text-center">
        <h2 class="text-2xl md:text-3xl font-heading font-bold mb-4">获取最新游戏资讯</h2>
        <p class="text-white/90 mb-6">订阅我们的通讯，第一时间了解新游戏发布和独家优惠</p>
        <form class="flex flex-col sm:flex-row gap-3 max-w-lg mx-auto">
          <input type="email" placeholder="输入你的邮箱地址" class="flex-grow px-4 py-3 rounded-lg text-slate-800 focus:outline-none focus:ring-2 focus:ring-white/50">
          <button type="submit" class="px-6 py-3 bg-white text-primary font-medium rounded-lg hover:bg-white/90 transition-colors">
            订阅 <i class="fa fa-paper-plane ml-2"></i>
          </button>
        </form>
        <p class="text-xs text-white/70 mt-4">我们尊重您的隐私，绝不会分享您的个人信息</p>
      </div>
    </section>
  </main>

  <!-- 页脚 -->
  <footer class="bg-slate-900 text-slate-300">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8 py-12">
      <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
        <!-- 关于我们 -->
        <div>
          <div class="flex items-center space-x-2 mb-4">
            <i class="fa fa-gamepad text-primary text-2xl"></i>
            <span class="font-heading font-bold text-xl text-white">游戏精选</span>
          </div>
          <p class="mb-4">为您提供最优质的游戏推荐和资讯，探索游戏世界的无限可能</p>
          <div class="flex space-x-4">
            <a href="#" class="text-slate-400 hover:text-white transition-colors">
              <i class="fa fa-facebook"></i>
            </a>
            <a href="#" class="text-slate-400 hover:text-white transition-colors">
              <i class="fa fa-twitter"></i>
            </a>
            <a href="#" class="text-slate-400 hover:text-white transition-colors">
              <i class="fa fa-instagram"></i>
            </a>
            <a href="#" class="text-slate-400 hover:text-white transition-colors">
              <i class="fa fa-youtube-play"></i>
            </a>
          </div>
        </div>
        
        <!-- 快速链接 -->
        <div>
          <h3 class="font-heading font-bold text-lg text-white mb-4">快速链接</h3>
          <ul class="space-y-2">
            <li><a href="#" class="hover:text-primary transition-colors">首页</a></li>
            <li><a href="#games" class="hover:text-primary transition-colors">游戏列表</a></li>
            <li><a href="#" class="hover:text-primary transition-colors">游戏评测</a></li>
            <li><a href="#" class="hover:text-primary transition-colors">最新资讯</a></li>
            <li><a href="#" class="hover:text-primary transition-colors">关于我们</a></li>
          </ul>
        </div>
        
        <!-- 游戏分类 -->
        <div>
          <h3 class="font-heading font-bold text-lg text-white mb-4">游戏分类</h3>
          <ul class="space-y-2">
            <li><a href="#" class="hover:text-primary transition-colors">角色扮演 (RPG)</a></li>
            <li><a href="#" class="hover:text-primary transition-colors">动作冒险</a></li>
            <li><a href="#" class="hover:text-primary transition-colors">模拟经营</a></li>
            <li><a href="#" class="hover:text-primary transition-colors">节奏游戏</a></li>
            <li><a href="#" class="hover:text-primary transition-colors">恋爱AVG</a></li>
          </ul>
        </div>
        
        <!-- 联系我们 -->
        <div>
          <h3 class="font-heading font-bold text-lg text-white mb-4">联系我们</h3>
          <ul class="space-y-2">
            <li class="flex items-start">
              <i class="fa fa-map-marker mt-1 mr-3 text-primary"></i>
              <span>北京市朝阳区游戏大道123号</span>
            </li>
            <li class="flex items-center">
              <i class="fa fa-phone mr-3 text-primary"></i>
              <span>+86 10 1234 5678</span>
            </li>
            <li class="flex items-center">
              <i class="fa fa-envelope mr-3 text-primary"></i>
              <span>contact@gamepick.com</span>
            </li>
          </ul>
        </div>
      </div>
      
      <!-- 版权信息 -->
      <div class="border-t border-slate-800 mt-12 pt-8 text-center text-sm">
        <p>&copy; 2023 游戏精选. 保留所有权利.</p>
      </div>
    </div>
  </footer>

  <!-- 返回顶部按钮 -->
  <button id="back-to-top" class="fixed bottom-6 right-6 bg-primary text-white w-12 h-12 rounded-full flex items-center justify-center shadow-lg opacity-0 invisible transition-all duration-300 hover:bg-primary/90">
    <i class="fa fa-arrow-up"></i>
  </button>

  <!-- JavaScript -->
  <script>
    // 移动端菜单切换
    const mobileMenuButton = document.getElementById('mobile-menu-button');
    const mobileMenu = document.getElementById('mobile-menu');
    
    mobileMenuButton.addEventListener('click', () => {
      mobileMenu.classList.toggle('hidden');
    });
    
    // 主题切换
    const themeToggle = document.getElementById('theme-toggle');
    
    // 检查用户偏好
    if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
      document.documentElement.classList.add('dark');
    } else {
      document.documentElement.classList.remove('dark');
    }
    
    themeToggle.addEventListener('click', () => {
      document.documentElement.classList.toggle('dark');
      
      // 保存用户偏好
      if (document.documentElement.classList.contains('dark')) {
        localStorage.theme = 'dark';
      } else {
        localStorage.theme = 'light';
      }
    });
    
    // 游戏筛选功能
    const filterButtons = document.querySelectorAll('.filter-btn');
    
    filterButtons.forEach(button => {
      button.addEventListener('click', () => {
        // 移除所有按钮的active状态
        filterButtons.forEach(btn => {
          btn.classList.remove('active', 'bg-primary', 'text-white');
          btn.classList.add('bg-slate-200', 'dark:bg-slate-700', 'hover:bg-slate-300', 'dark:hover:bg-slate-600');
        });
        
        // 添加当前按钮的active状态
        button.classList.add('active', 'bg-primary', 'text-white');
        button.classList.remove('bg-slate-200', 'dark:bg-slate-700', 'hover:bg-slate-300', 'dark:hover:bg-slate-600');
        
        // 获取筛选类型
        const filterType = button.textContent.trim().toLowerCase();
        
        // 筛选游戏
        const gameCards = document.querySelectorAll('.game-card');
        
        gameCards.forEach(card => {
          const cardType = card.querySelector('.rounded').textContent.trim().toLowerCase();
          
          if (filterType === '全部' || filterType === cardType) {
            card.style.display = 'block';
          } else {
            card.style.display = 'none';
          }
        });
      });
    });
    
    // 返回顶部按钮
    const backToTopButton = document.getElementById('back-to-top');
    
    window.addEventListener('scroll', () => {
      if (window.pageYOffset > 300) {
        backToTopButton.classList.remove('opacity-0', 'invisible');
        backToTopButton.classList.add('opacity-100', 'visible');
      } else {
        backToTopButton.classList.add('opacity-0', 'invisible');
        backToTopButton.classList.remove('opacity-100', 'visible');
      }
    });
    
    backToTopButton.addEventListener('click', () => {
      window.scrollTo({
        top: 0,
        behavior: 'smooth'
      });
    });
    
    // 导航栏滚动效果
    const header = document.querySelector('header');
    
    window.addEventListener('scroll', () => {
      if (window.pageYOffset > 100) {
        header.classList.add('shadow-md');
        header.classList.remove('border-b');
      } else {
        header.classList.remove('shadow-md');
        header.classList.add('border-b');
      }
    });
    
    // 平滑滚动
    document.querySelectorAll('a[href^="#"]').forEach(anchor => {
      anchor.addEventListener('click', function (e) {
        e.preventDefault();
        
        const targetId = this.getAttribute('href');
        if (targetId === '#') return;
        
        const targetElement = document.querySelector(targetId);
        if (targetElement) {
          targetElement.scrollIntoView({
            behavior: 'smooth'
          });
          
          // 如果是移动端，点击后关闭菜单
          if (window.innerWidth < 768) {
            mobileMenu.classList.add('hidden');
          }
        }
      });
    });
  </script>
</body>
</html>
